home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / rachad10.zip / SAMPLE.CFG < prev   
Text File  |  1990-08-05  |  2KB  |  51 lines

  1. ;  Sample configuration file for ChgAddr
  2. ;
  3. ;
  4. ;  Comments can be anywhere on a line as long as they begin with a ";"
  5. ;
  6. ;  Blank lines separate different address rules.  If you want spacing
  7. ;  between your lines within a rule, you need to use a semicolon so that
  8. ;  ChgAddr won't think that you're ending that rule.
  9. ;
  10. ;  When writing rules, you should note that ChgAddr will only use the
  11. ;  first matching rule on a given NetMail message.  You may need to use
  12. ;  an "Except" to prevent ChgAddr from matching early.
  13. ;
  14. Old-From 1:1/6                      ; Private network address
  15. Old-To All Except 1:1/0 1 2 3 4 5   ; List of nodes in the private network
  16.                   6 8 10 11 12 102  ; (continued on multiple lines)
  17.                   103 201 129/40
  18. ;  This is my FidoNet address
  19. New-From 1:129/45
  20.  
  21. ;
  22. ;  Note the blank line above this line.  That signifies the end of the
  23. ;  first rule.
  24. ;
  25. New-To 1/0                         ; This rule will be ignored since
  26.                                    ; there are no "Old" matches listed
  27.  
  28. ;
  29. ;  Node 129/40 is the same as 129/5 except that 129/5 has a high speed
  30. ;  modem, so we'll re-route it.
  31. ;
  32. ;  Note the use of another rewrite for New-From to be 129/45.  This is
  33. ;  done since ChgAddr will only apply the first rule matched against the
  34. ;  NetMail message.
  35. ;
  36. Old-To 129/40
  37. New-To 129/5
  38. New-From 129/45
  39.  
  40. ;
  41. ;  Multiple "Except" clauses can be used to reverse the previous negation.
  42. ;  In this example, we want to rewrite the addresses for those nodes which
  43. ;  are either not in zone 3 or are in 3:360/All with the final exclusion
  44. ;  of 3:360/5.  Multiple "Except" clauses can be VERY confusion, so use them
  45. ;  with caution.
  46. ;
  47. ;  (For sanity, no rewrites are being done with these matches, but you could,
  48. ;  if you *really* wanted to do so.)
  49. ;
  50. Old-To All Except 3:All Except 360/All Except 5
  51.